package telecom;

public class CommonSubscriber extends Person{
	static{
		System.out.println("static initializer block in common subscriber");
	}


	int num = 50 ;
	
	int v=111 ;
	
	String name ;
	String zipcode;
	int circle;
	String mode;
	int age ;
	int billAmount;
	String model;


	public CommonSubscriber()
	{
		System.out.println("default constructor in common subscriber");
	}

	public CommonSubscriber(String name, String zipCode, int circle, String mode, int Age, int bill, String model)
	{

		System.out.println("commonsubscriber constructor with all values");
		this.name = name;
		this.zipcode = zipCode;
		this.circle = circle;
		this.mode = mode;
		this.age = Age;
		this.billAmount = bill;
		this.model = model;

	}

	public static void receiveCall()
	{
		System.out.println("Commom class static receive call function");
	}

	public void makeCall()
	{
		System.out.println("common class make call");

	}

	public void viewBill()
	{
		System.out.println("this is view bill function in common subscriber class");
	}

	public static void viewOffer()
	{
		System.out.println("THis is static viewoffer fucntion in common subscriber");
	}

}



